package com.macro.mall.mapper.admin;

import com.macro.mall.model.admin.BasicUserPortrait;
import com.macro.mall.query.BasicUserPortraitQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BasicUserPortraitMapper {

    int deleteByPrimaryKey(String id);

    int insert(BasicUserPortrait record);

    int insertSelective(BasicUserPortrait record);

    BasicUserPortrait selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(BasicUserPortrait record);

    int updateByPrimaryKey(BasicUserPortrait record);


    /***
     * 条件动态查询
     * @param query
     * @return
     */
    List<BasicUserPortrait> selectList(BasicUserPortraitQuery query);


    /***
     * 查询 采集管理 id name
     * @param list
     * @return
     */
    List<String> selectResultVo(@Param("list") List<String> list);
}
